package com.flea.hclv.service;

import com.flea.hclv.model.entity.HVisitor;
import com.flea.hclv.util.ServerResponse;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface HCarVisitorService {
    ServerResponse<Map<String, Object>> createCarSeat(String userId, String timeTableId);

    ServerResponse<Map<String,Object>> selectByTimeTableId(String userId, String timeTableId, Integer isGo);

    ServerResponse<String> saveSeatNumber(String userId, String model) throws Exception;

    ServerResponse<String> cancelSeatNumber(String timeTableId, List<HVisitor> visitors);

    ServerResponse<String> selectExportVisitorSeats(String timeTableId,HttpServletResponse response);
}
